5
|
How do I put a picture on the control's background
local oScrollBar
oScrollBar = form.EXSCROLLBARACTIVEXCONTROL1.nativeObject
oScrollBar.Picture = oScrollBar.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oScrollBar.Template = [VisiblePart(640) = False] // oScrollBar.VisiblePart(640) = false
oScrollBar.BackColor = 0x80000004
|
4
|
How can I change the size of control's font
local oScrollBar
oScrollBar = form.EXSCROLLBARACTIVEXCONTROL1.nativeObject
oScrollBar.Font.Size = 12
oScrollBar.ForeColor = 0xff
oScrollBar.Template = [Caption(256) = "<img>0</img>thumb"] // oScrollBar.Caption(256) = "<img>0</img>thumb"
|
3
|
How do I change the control's font
local oScrollBar
oScrollBar = form.EXSCROLLBARACTIVEXCONTROL1.nativeObject
oScrollBar.Font.Name = "Tahoma"
oScrollBar.ForeColor = 0xff
oScrollBar.Template = [Caption(256) = "<img>0</img>thumb"] // oScrollBar.Caption(256) = "<img>0</img>thumb"
|
2
|
How can I change the control's foreground color
local oScrollBar
oScrollBar = form.EXSCROLLBARACTIVEXCONTROL1.nativeObject
oScrollBar.ForeColor = 0xff
oScrollBar.Template = [Caption(256) = "<img>0</img>thumb"] // oScrollBar.Caption(256) = "<img>0</img>thumb"
|
1
|
How can I change the control's background color
local oScrollBar
oScrollBar = form.EXSCROLLBARACTIVEXCONTROL1.nativeObject
oScrollBar.BackColor = 0xff00
oScrollBar.Template = [VisiblePart(640) = False] // oScrollBar.VisiblePart(640) = false
|